<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/pages/lib_1.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hello World!</title>
<style type="text/css">
@import "/examcenter/dojo1.7/dijit/themes/nihilo/nihilo.css";
@import "/examcenter/dojo1.7/dojo/resources/dojo.css"
</style>
<script src="/examcenter/dojo1.7/dojo/dojo.js"></script>
<script>
    dojo.require("dojo.parser");
	dojo.require('dojox.validate');
	dojo.require('dojox.validate.us');
	dojo.require('dojox.validate.web');
	/* basic dijit classes */
	dojo.require('dijit.form.CheckBox');
	dojo.require('dijit.form.Textarea');
	dojo.require('dijit.form.FilteringSelect');
	dojo.require('dijit.form.TextBox');
	dojo.require('dijit.form.ValidationTextBox');
	dojo.require('dijit.form.DateTextBox');
	dojo.require('dijit.form.TimeTextBox');
	dojo.require('dijit.form.Button');
	dojo.require('dijit.form.RadioButton');
	dojo.require('dijit.form.Form');
	dojo.require('dijit.form.DateTextBox');
	/* basic dojox classes */
	dojo.require('dojox.form.BusyButton');
	dojo.require('dojox.form.CheckedMultiSelect');
	function init() {
		console.log("Dojo ready, version:" + dojo.version);
	}
	dojo.ready(init);
</script>
</head>
<body class="nihilo">
  <c:if test="${!empty message}">
    <script type="text/javascript">
    	alert('${message}');
    </script>
  </c:if>
  <form method="post" action="user.do">
    <input type="hidden" name="action" id="action" value="register"/>
    <input type="hidden" name="m" id="m" value="create"/>
    Username:<input dojoType="dijit.form.TextBox" id="userid" name="userid"/><br>
    Password:<input dojoType="dijit.form.TextBox" id="password" name="password"/><br>
    Confirm PassWord:<input dojoType="dijit.form.TextBox" id="repassword" name="repassword"/><br>
    Email:<input id="email" name="email"/><br>
    <button type="submit">Register</button>
    <button type="reset">Reset</button>
  </form>
</body>
</html>